home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Human Interface Toolbox / ColorPopUpMenus / ColorPopUpMenus.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-28  |  1.3 KB  |  44 lines  |  [TEXT/MPS ]

  1. /*
  2.     File: ColorPopUpMenus.h
  3.  
  4.     Contains:    This file contains constants used in the file ColorPopUpMenus.c.
  5.  
  6.     Written by:     John Montbriand
  7.  
  8.     Copyright:    Copyright © 1999 by Apple Computer, Inc., All Rights Reserved.
  9.  
  10.     You may incorporate this Apple sample source code into your program(s) without
  11.     restriction. This Apple sample source code has been provided "AS IS" and the
  12.     responsibility for its operation is yours. You are not permitted to redistribute
  13.     this Apple sample source code as "Apple sample source code" after having made
  14.     changes. If you're going to re-distribute the source, we require that you make
  15.     it clear in the source that the code was descended from Apple sample source
  16.     code, but that you've made changes.
  17.  
  18.     Change History (most recent first):
  19.     7/19/1999 Karl Groethe - Updated for Metrowerks Codewarror Pro 2.1
  20.     10/7/1999 John Montbriand - removed bad menu resource definition, rewrote the rest :)
  21. */
  22.  
  23. #ifndef __COLORPOPUPMENUS__
  24. #define __COLORPOPUPMENUS__
  25.  
  26.     /* resource ids used in this sample */
  27. enum {
  28.     kOtherIconRsrc = 383,
  29.         /* index of the color we are interested in inside of
  30.         the clut stored in the color icon resource */
  31.     kOutClutColorIndex = 0 
  32. };
  33.  
  34.     /* resource ids used in the main dialog */
  35. enum {
  36.     kMainDialog = 128,
  37.     kMainOK = 1,
  38.     kMainPopUp = 2,
  39.     kMainPopUpOtherItem = 4
  40. };
  41.  
  42.  
  43. #endif
  44.